package com.million.orderservice.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.million.orderservice.entity.Order;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.million.orderservice.entity.vo.OrderInfoVo;
import com.million.orderservice.entity.vo.QueryOrder;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 订单 Mapper 接口
 * </p>
 *
 * @author 十麓
 * @since 2022-04-09
 */
public interface OrderMapper extends BaseMapper<Order> {

    //得到订单集合的数据
    Page<OrderInfoVo> getOrderInfoVo (Page<OrderInfoVo> courseListPage,
                                         @Param("orderNo") String orderNo);
    //得到订单集合的数据
    Page<OrderInfoVo> getOrderInfoVoList (Page<OrderInfoVo> courseListPage);

}
